#ifndef __CK_LANDSAT_SCHEMA_READER_H__
#define __CK_LANDSAT_SCHEMA_READER_H__

#include "zCore.h"

namespace ck
{
	namespace xml
	{
		class Element;
	}

	namespace data
	{
		class Schema;
		class Group;
		class Field;
		class FieldDef;

		class ZCORE_API SchemaReader
		{
		public:
			SchemaReader();
			virtual ~SchemaReader();

		public:
			Schema*	Read(const char* szPath);

		private:
			Group*	ParseGroup(xml::Element* pxGroup);
			Field*	ParseField(xml::Element* pxField);

		};
	}
}

#endif //__CK_LANDSAT_SCHEMA_READER_H__
